﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Audio;

namespace GameTank
{
    public class AudioLibrary
    {

        private SoundEffect explosion;

        public SoundEffect Explosion
        {
            get { return explosion; }
            set { explosion = value; }
        }
        private SoundEffect menuBack;

        public SoundEffect MenuBack
        {
            get { return menuBack; }
            set { menuBack = value; }
        }
        private SoundEffect menuSelect;

        public SoundEffect MenuSelect
        {
            get { return menuSelect; }
            set { menuSelect = value; }
        }
        private SoundEffect menuScroll;

        public SoundEffect MenuScroll
        {
            get { return menuScroll; }
            set { menuScroll = value; }
        }

        private SoundEffect piton;

        public SoundEffect Piton
        {
            get { return piton; }
            set { piton = value; }
        }
  
        private Song backMusic;

        public Song BackMusic
        {
            get { return backMusic; }
            set { backMusic = value; }
        }
        private Song startMusic;

        public Song StartMusic
        {
            get { return startMusic; }
            set { startMusic = value; }
        }
       

        public void LoadContent(ContentManager Content)
        {
            explosion = Content.Load<SoundEffect>("explosion");
            backMusic = Content.Load<Song>("backMusic");
            startMusic = Content.Load<Song>("startMusic");
            menuBack = Content.Load<SoundEffect>("menu_back");
            menuSelect = Content.Load<SoundEffect>("menu_select3");
            menuScroll = Content.Load<SoundEffect>("menu_scroll");          
            piton = Content.Load<SoundEffect>("pistol-01");
        }
    }
}
